package tuan.filter;
 
import org.w3c.dom.Node;

import tuan.utils.StringUtil;

public class PureTextLengthFiltter extends TextLengthFiltter {

	public PureTextLengthFiltter(int length, String op) throws Exception {
		super(length, op);
	}

	@Override
	protected int getTextLen(Node node) {
		return StringUtil.getPureText(node.getTextContent()).length();
	}

}
